package com.fernfx.xingtan.main.model;

import com.fernfx.xingtan.Constant;
import com.fernfx.xingtan.common.network.IRequestCallback;
import com.fernfx.xingtan.common.network.SJJNetworkProxy;
import com.fernfx.xingtan.main.contract.RobredPacketContract;
import com.fernfx.xingtan.utils.OtherUtil;

/**
 * Created by admin on 2018/8/22.
 */

public class RobredPacketModel implements RobredPacketContract.Mode {
    @Override
    public void getQiniuToken(IRequestCallback iRequestCallback) {
        String url = OtherUtil.getGetUrl(Constant.RequestArgs.GET_QINIU_TOKEN_URL,null);
        SJJNetworkProxy.getInstance().get(url,null,iRequestCallback);
    }
}
